using System;
using System.Collections.Generic;
using System.Text;
using System.Data;
using System.Data.SqlClient;

namespace BusinessObjects
{

    public class NhanVien:HoSo
	{
		private bool _bienChe;
		private LoaiNhanVien _loaiNhanVien;
		private ChucVu _chucVu;
		private DateTime _ngayBoNhiem;
		private byte _lanBoNhiem;
		
		public NhanVien()
		{
		}
		
		
		#region Public Properties
		
		public bool BienChe
		{
            get
            {
                return _bienChe;
            }
            set
            {
                if (_bienChe == value)
                    return;
                _bienChe = value;
                OnPropertyChanged("BienChe");
            }
		}

		public LoaiNhanVien LoaiNhanVien
		{
            get
            {
                return _loaiNhanVien;
            }
            set
            {
                if (_loaiNhanVien == value)
                    return;
                _loaiNhanVien = value;
                OnPropertyChanged("LoaiNhanVien");
            }
		}

		public ChucVu ChucVu
		{
            get
            {
                return _chucVu;
            }
            set
            {
                if (_chucVu == value)
                    return;
                _chucVu = value;
                OnPropertyChanged("ChucVu");
            }
		}

		public DateTime NgayBoNhiem
		{
            get
            {
                return _ngayBoNhiem;
            }
            set
            {
                if (_ngayBoNhiem == value)
                    return;
                _ngayBoNhiem = value;
                OnPropertyChanged("NgayBoNhiem");
            }
		}

		public byte LanBoNhiem
		{
            get
            {
                return _lanBoNhiem;
            }
            set
            {
                if (_lanBoNhiem == value)
                    return;
                _lanBoNhiem = value;
                OnPropertyChanged("LanBoNhiem");
            }
		}
		#endregion
		
	}
}

